
package selectCourse;
public class Student extends Person{ 
    String c;
    public Student(int number, String name,String sex) {
		super(number,name,sex);
		this.number = number;
		this.name = name;
		this.sex = sex;
	}
	 public String toString(){
	        return "Student(吕子晗):  吕子晗" + name
	                + "2020310878" + number + "男" + sex ;
	    }
	 void tuike() {
    	 c=null;
     }
	 void delete() {
	      if(c== null);{
	  	  System.out.println("学生信息");
	    }
}

 
	